package com.hzqy.persistence.dao.industry;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.AlertInfoVo;
import com.hzqy.web.vo.InformationSynVo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public class InformationSynDao extends PersistenceDao<InformationSynVo, Integer> {
    
    public int insertInformationSyn(InformationSynVo informationSynVo){
        String namespace = this.getNamespace();
        return getSqlSession().insert(namespace + "insertInformationSyn", informationSynVo);
    }
    public List<InformationSynVo> selectInformationSyn(InformationSynVo informationSynVo){
        String namespace = this.getNamespace();
        return getSqlSession().selectList(namespace + "selectInformationSyn", informationSynVo);
    }
    public List<InformationSynVo> selectInformationSynByPage(Map<String, Object> map){
        String namespace = this.getNamespace();
        return getSqlSession().selectList(namespace + "selectInformationSynByPage", map);
    }
}
